package com.cchip.cloud.system;

public class Account {
	public static Account my = new Account();

	public static void loadMyAccount() {
		my.name = Config.getUsername();
		my.password = Config.getPassword();
		my.roomId = Config.getRoomId();
		my.roomPassword = Config.getRoomPassword();
	}

	public String name = null;
	public String password = null;
	public String roomId = null;
	public String roomPassword = null;

	public void clear() {
		name = null;
		password = null;
		roomId = null;
		roomPassword = null;

		Config.setUsername(null);
		Config.setPassword(null);
		Config.setRoomId(null);
		Config.setRoomPassword(null);
	}
}
